<script>
	
	export default {
		onLaunch: function() {
		
			  let userAgent = navigator.userAgent		 
			  if (userAgent.includes('iPhone') || userAgent.includes('iPad')) {
				sessionStorage.setItem('originUrl', location.href)  // 用于ios分享
			  }
		
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style lang="scss">
	@import "uview-ui/index.scss";
	/*每个页面公共css */
	view {
		font-family: PingFangSC-Regular, sans-serif;
	}
	
</style>
